package com.aikg.kgrag_java.pojo.entity;

/**
 * @Author tfan
 * @Description
 * @Date 2025/1/1 20:52
 **/

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.Document;

import java.io.Serializable;

//@Document(indexName = "user_questions")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Question implements Serializable {
    @JsonProperty("question_id")
    private String id;
    private String content;
    private Integer frequency;
    @JsonProperty("project_id")
    private String projectId;
    @JsonProperty("last_viewed_date")
    private String lastViewedDateStr; // 最后更新时间

}

